package com.cgc.venus.server.app.inter;
import com.cgc.venus.server.core.exception.VenusException;
import com.cgc.venus.server.core.harbor.model.Tag;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * Created by 业哥 on 2017/9/20.
 */
public interface AppStoreService {
    public List<Map<String,Object>> appTypeQuery(String queryKey) throws VenusException;//应用类型查询
    public Boolean appTypeAdd(String type,String desc) throws VenusException;//应用类型新增
    public Boolean appTypeUpdate(String id,String type,String desc) throws VenusException;//应用类型修改
    public Boolean appTypeDelete(String id) throws VenusException;//应用类型删除
    public List<Map<String,Object>> appQueryGround(String queryKey,String appType) throws VenusException;//上架应用查询
    public List<Map<String,Object>> appQueryOnGround(String queryKey) throws VenusException;//未上架应用查询
    public Boolean appAdd(String name,String appType,String desc) throws VenusException;//应用上架
    public Boolean appDelete(String[] appIds) throws VenusException;//上架应用删除
    public Boolean appUnGroundDelete(String name) throws VenusException;//未上架应用删除

}
